package com.macro.mall.mgb.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 运费模版
 * </p>
 *
 * @author wangwang
 * @since 2025-07-21
 */
    @Data
    @TableName("pms_feight_template")
    @EqualsAndHashCode(callSuper = false)
public class FeightTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id")
    private Long id;

    private String name;

            /**
             * 计费类型:0->按重量；1->按件数
             */
    private Integer chargeType;

            /**
             * 首重kg
             */
    private BigDecimal firstWeight;

            /**
             * 首费（元）
             */
    private BigDecimal firstFee;

    private BigDecimal continueWeight;

    private BigDecimal continmeFee;

            /**
             * 目的地（省、市）
             */
    private String dest;

    }